
package org.jeecg.modules.flowable.enums;

/**
 * 模型使用状态
 */
public enum ModelUseStatusEnum {

    DRAFT(0, "草稿"),

    WAIT_RELEASED(1, "待发布"),

    USING(2, "使用中"),

    DEACTIVATE(-1, "停用");

    final Integer code;

    final String desc;

    ModelUseStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
